package com.jdls.tanhua.dubbo;

import com.jdls.tanhua.mongo.Friend;
import com.jdls.tanhua.mongo.Movement;
import org.bson.types.ObjectId;

import java.util.List;

/**
 * @author 嘉德罗斯
 * @date 2021/10/27
 */
public interface MovementApi {
      Movement save(Movement movement);

     List<Friend> findOne(Movement movement);

     Movement findOne(ObjectId id);

     List<Movement> findAll(Long userId,Integer page, Integer pagesize);

     List<Movement> findAll(List<ObjectId> movementIds, Integer page, Integer pagesize);

     List<Movement> findMovement(List<Long> ids, Integer page, Integer pagesize);
}
